#include "head.h"

int sockfd;

void close_sock(int signum) {
    close(sockfd);
    exit(0);
}

int main(int argc, char *argv[]) {
    signal(SIGINT, close_sock);
    if ((sockfd = socket_connect("127.0.0.1", 8080)) < 0) {
        perror("socket_connect");
        exit(1);
    }
    
    return 0;
}